package com.example.springbootdemo.scene.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *@author xuwangqi
 *@date 2021/5/24 15:58
 **/
/**
    * 景点设施分组
    */
@ApiModel(value="com-example-springbootdemo-scene-entity-SpotGroup")
@Data
@TableName(value = "spot_group")
public class SpotGroup {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 组名
     */
    @TableField(value = "name")
    @ApiModelProperty(value="组名")
    private String name;

    /**
     * 英文别名
     */
    @TableField(value = "code")
    @ApiModelProperty(value="英文别名")
    private String code;

    /**
     * 状态
     */
    @TableField(value = "status")
    @ApiModelProperty(value="状态")
    private Byte status;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_CODE = "code";

    public static final String COL_STATUS = "status";
}